package com.gxa.setting.controller;

import com.gxa.common.base.RespResult;
import com.gxa.setting.service.SetCommentsLabelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/setCommentsLabelController")
@RestController
public class SetCommentsLabelController {

    @Autowired
    private SetCommentsLabelService setCommentsLabelService;

    @GetMapping("/queryLabel")
    @ResponseBody
    public RespResult queryLabel(){
        return setCommentsLabelService.queryLabel();
    }
}
